package de.thw.web.dao;

import java.util.List;

import org.hibernate.SessionFactory;

import de.thw.web.model.AbstractModel;

public interface AbstractDAO<T extends AbstractModel> {

	public void setSessionFactory(SessionFactory sessionFactory);
	
	public void save( T object);
	
	public T load( String ID);
	
	public List<T> getAll();
	
};